//
//  TestUIPageControl.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2020/10/6.
//  Copyright © 2020 moon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MKUI/MKUI.h>

@protocol TestUIPageControlProtocol <NSObject>

@property(nonatomic) NSInteger numberOfPages;
@property(nonatomic) NSInteger currentPage;
@property(nonatomic,assign) BOOL hidesForSinglePage;
@optional
- (void)scrollToPageIndex:(NSInteger)pageIndex progress:(CGFloat)progress;
@end

NS_ASSUME_NONNULL_BEGIN

@interface TestUIPageControl : UIView<TestUIPageControlProtocol>
@property(nonatomic) NSInteger numberOfPages;
@property(nonatomic) NSInteger currentPage;
@end

@interface TestUIPageControl_0 : UIView<TestUIPageControlProtocol>
@property(nonatomic) NSInteger numberOfPages;
@property(nonatomic) NSInteger currentPage;

@property(nonatomic,strong) MKUIPageControl *pageControl;
@property(nonatomic,strong) UILabel *pageLabel;
@property(nonatomic,strong) MKUIFlowLayoutConstraint *flowlayout;
+ (Class)pageControlClass;
@end



@interface TestUIPageControl_1 : TestUIPageControl_0
@end
@interface TestUIPageControl_2 : TestUIPageControl_0
@end
@interface TestUIPageControl_3 : TestUIPageControl_0
@end
@interface TestUIPageControl_4 : TestUIPageControl_0
@end
@interface TestUIPageControl_5 : TestUIPageControl_0
@end
NS_ASSUME_NONNULL_END
